// 获取公共Token的接口
export const getToken = 'https://wx.hbglky.com/oauth-provider/oauth/token'

// 获取注册的验证码的接口 -- 需要动态的拼接手机号 {phone} + verify
export const mailNumber = 'https://wx.hbglky.com/api/r/pub'

// 注册的接口  -- 需要动态的拼接 获取的公共token -- 然后然加上/regist
export const regist = 'https://wx.hbglky.com/api/r/pub/passenger'

// 登陆的接口
export const login = 'https://wx.hbglky.com/api/r/pub/passenger/login'

// 关于我的
export const aboutme = 'https://wx.hbglky.com/user/me/index'

// 我的中未支付的订单和已经支付的订单列表 需要拼接'passengerId' + /recover
export const orderList = 'http://39.104.54.182:8080/ecar/r/passenger'

// 忘记密码
export const forgot = 'http://39.104.54.182:8080/ecar/r/driver/forget'

// 微信支付
export const wechatPay = 'http://39.104.54.182:8080/ecar/r/pay/wx/app'

// 快车列表--需要动态的拼接psID--乘客ID + pageNumber -- 第几页
// + pageSize -- 一页多少 + status + 订单状态 1.全部 2.未完成 3.已完成
// export const order = '/api/ecar/r/passenger/'

export const addOrder = 'http://39.104.54.182:8080/ecar/r/passenger/createOrder'

// 乘客端取消订单
export const cancelOrder = 'http://39.104.54.182:8080/ecar/r/passenger/cancelOrder'

// 乘客接送机订单列表  -- {乘客ID}/{第几页}/{每页显示的行数}/{订单状态 1.全部 2.未完成 3.已完成}
export const userCarList = 'http://39.104.54.182:8080/ecar/r/passenger'

// 用户评分接口
export const evaluateOrder = 'http://39.104.54.182:8080/ecar/r/order/rate'

// 评价标签接口--get提交
export const carTips = 'http://39.104.54.182:8080/ecar/r/public/getTips'

// 乘客端接送机预估价
export const flightPrice = 'http://39.104.54.182:8081/ecar/r/passenger/getJSDepPrice'

//
export const getFlightPrice = 'http://39.104.54.182:8080/ecar/r/passenger/getJSDepPrice'

// 添加个人信息
export const personInfo = 'http://39.104.54.182:8080/ecar/r/driver/insertPersonInfo'

// 获取订单详情
export const getOrder = 'http://39.104.54.182:8080/ecar/r/passenger/'

// 找回密码
export const getPassword = 'https://wx.hbglky.com/api/r/pub/'

// 选择车型
export const getCarType = 'http://39.104.54.182:8080/ecar/r/car/cartype'

// 获取用户资料
export const getDriver = 'http://39.104.54.182:8080/ecar/r/driver/'

//匿名乘客下单一口价
export const getOkprice = 'http://39.104.54.182:8080/ecar/r/passenger/'

//乘客端接送机一口价下单接口
export const createOderes = 'http://39.104.54.182:8080/ecar/r/passenger/createJSPOrder'

// 修改头像
export const editPic = 'https://wx.hbglky.com/api/r/passenger/'